package com.test.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ssang
 * @date 2022-02-11 15:52
 * 读取配置中，阿里消息队列的秘钥等信息
 */
@Data
@Component
@ConfigurationProperties(prefix = "mq.rocketmq")
public class AliMqttConfig {
    private String producerId;
    private String consumerId;
    private String accessKey;
    private String secretKey;
    private String sendMsgTimeOutMillis;
    private String onsAddr;
}
